package com.njwb.service.impl;

import com.njwb.dao.OrderDao;
import com.njwb.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service("orderService")
public class OrderServiceImpl implements OrderService {
    @Autowired
//    @Qualifier(value = "bean的name值")
    private OrderDao orderDao;
    @Override
    public void insert() {
        orderDao.add();
    }
}
